package org.travel_system.service;


import org.travel_system.pojo.Restaurant;

import java.util.List;

public interface RestaurantService {
    List<Restaurant> getRestaurants();

    Restaurant getRestaurantByName(String name);

    List<Restaurant> getSearchRestaurantByName(String name);
    int addRestaurant(Restaurant restaurant);

    int deleteRestaurantByName(String name);

    int updateRestaurant(Restaurant restaurant);
}
